Optimal. Leaf size=41 \[ \frac {\left (a+b x^2\right ) \left (a^2+2 a b x^2+b^2 x^4\right )^p}{2 b (1+2 p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1121, 623}
\begin {gather*} \frac {\left (a+b x^2\right ) \left (a^2+2 a b x^2+b^2 x^4\right )^p}{2 b (2 p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 623
Rule 1121
Rubi steps
\begin {align*} \int x \left (a^2+2 a b x^2+b^2 x^4\right )^p \, dx &=\frac {1}{2} \text {Subst}\left (\int \left (a^2+2 a b x+b^2 x^2\right )^p \, dx,x,x^2\right )\\ &=\frac {\left (a+b x^2\right ) \left (a^2+2 a b x^2+b^2 x^4\right )^p}{2 b (1+2 p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 29, normalized size = 0.71 \begin {gather*} \frac {\left (a+b x^2\right ) \left (\left (a+b x^2\right )^2\right )^p}{2 b+4 b p} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 31, normalized size = 0.76
method | result | size |
risch | \(\frac {\left (b \,x^{2}+a \right ) \left (\left (b \,x^{2}+a \right )^{2}\right )^{p}}{2 b \left (1+2 p \right )}\) | \(31\) |
gosper | \(\frac {\left (b \,x^{2}+a \right ) \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )^{p}}{2 b \left (1+2 p \right )}\) | \(40\) |
norman | \(\frac {x^{2} {\mathrm e}^{p \ln \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )}}{4 p +2}+\frac {a \,{\mathrm e}^{p \ln \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )}}{2 b \left (1+2 p \right )}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 30, normalized size = 0.73 \begin {gather*} \frac {{\left (b x^{2} + a\right )} {\left (b x^{2} + a\right )}^{2 \, p}}{2 \, b {\left (2 \, p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 37, normalized size = 0.90 \begin {gather*} \frac {{\left (b x^{2} + a\right )} {\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )}^{p}}{2 \, {\left (2 \, b p + b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {x^{2}}{2 \sqrt {a^{2}}} & \text {for}\: b = 0 \wedge p = - \frac {1}{2} \\\frac {x^{2} \left (a^{2}\right )^{p}}{2} & \text {for}\: b = 0 \\\int \frac {x}{\sqrt {\left (a + b x^{2}\right )^{2}}}\, dx & \text {for}\: p = - \frac {1}{2} \\\frac {a \left (a^{2} + 2 a b x^{2} + b^{2} x^{4}\right )^{p}}{4 b p + 2 b} + \frac {b x^{2} \left (a^{2} + 2 a b x^{2} + b^{2} x^{4}\right )^{p}}{4 b p + 2 b} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.50, size = 58, normalized size = 1.41 \begin {gather*} \frac {{\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )}^{p} b x^{2} + {\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )}^{p} a}{2 \, {\left (2 \, b p + b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.67, size = 46, normalized size = 1.12 \begin {gather*} \left (\frac {x^2}{2\,\left (2\,p+1\right )}+\frac {a}{2\,b\,\left (2\,p+1\right )}\right )\,{\left (a^2+2\,a\,b\,x^2+b^2\,x^4\right )}^p \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________